package com.gjm.demo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("/test")
public class TestController {

    @RequestMapping("/t1")
    public void t1() {
        log.info("t1拦截器测试...");
    }

    @RequestMapping("/t2")
    public void t2() {
        log.info("不拦截t2测试");
    }
}
